package com.flame.system.tools.entity;

import java.util.List;

/**
 * FormItem
 *
 * @author wuxintong
 * @since 2022/11/23
 */
public class FormItem {

    private String type;

    private String dataType;

    private String name;

    private String label;

    private String placeholder;

    private List<FormItemOption> options;

    private Integer span;

    private boolean disable;

    private boolean required;

    private String verifyRegex;

    private String verifyErrMsg;

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getLabel() {
        return label;
    }

    public void setLabel(String label) {
        this.label = label;
    }

    public String getPlaceholder() {
        return placeholder;
    }

    public void setPlaceholder(String placeholder) {
        this.placeholder = placeholder;
    }

    public List<FormItemOption> getOptions() {
        return options;
    }

    public void setOptions(List<FormItemOption> options) {
        this.options = options;
    }

    public String getDataType() {
        return dataType;
    }

    public void setDataType(String dataType) {
        this.dataType = dataType;
    }

    public Integer getSpan() {
        return span;
    }

    public void setSpan(Integer span) {
        this.span = span;
    }

    public boolean isDisable() {
        return disable;
    }

    public void setDisable(boolean disable) {
        this.disable = disable;
    }

    public boolean isRequired() {
        return required;
    }

    public void setRequired(boolean required) {
        this.required = required;
    }

    public String getVerifyRegex() {
        return verifyRegex;
    }

    public void setVerifyRegex(String verifyRegex) {
        this.verifyRegex = verifyRegex;
    }

    public String getVerifyErrMsg() {
        return verifyErrMsg;
    }

    public void setVerifyErrMsg(String verifyErrMsg) {
        this.verifyErrMsg = verifyErrMsg;
    }
}
